This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
I've been dealing with a problem all afternoon and can't find an answer or find a solution. I found on many places how to reach the xpages context objects in java (not SSJS) but i'm not able to successfully use it on my user/managed bean.
Inside my bean I'm trying to get viewScope object this way:
FacesContext context = FacesContext.getCurrentInstance();
Object o = Context.getApplication().getVariableResolver().resolveVariable(context, "viewScope");
The script stops right on first line throwing a ClassNotFoundException for FacesContext. It looks the class is not visible on the bean execution environment.
Is this supposed to happen? what am i missing here?
Thanks very much!
Jose Pinto
Feedback number WEBB8BLPM2 created by ~Sean Fezkrotexettu on 11/27/2010
Status: Open
Comments: